/*
** my_str_isalpha.c for my_str_isalpha in /home/chassa_m/rendu/Piscine-C-Jour_06/ex_10
** 
** Made by chassa_m
** Login   <chassa_m@epitech.net>
** 
** Started on  Tue Oct  8 08:07:45 2013 chassa_m
** Last update Tue Oct 22 10:19:02 2013 chassa_m
*/

int	my_str_isalpha(char *str)
{
  int	i;

  i = 0;
  if (str[i] == 0)
    {
      return (1);
    }
  while (str[i] != 0)
    {
      if ((str[i] < 97 && str[i] > 122) || (str[i] < 65 && str[i] > 90))
        {
          return (0);
        }
      i = i + 1;
    }
  return (1);
}
